package com.ruoyi.business.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 手工交易参数配置对象 business_manual_config
 * 
 * @author ruoyi
 * @date 2024-05-14
 */
public class BusinessManualConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 股票代码 */
    @Excel(name = "股票代码")
    private String stockCode;

    /** 静态止盈率 */
    @Excel(name = "静态止盈率")
    private BigDecimal staticStopProfitRate;

    /** 静态止损率 */
    @Excel(name = "静态止损率")
    private BigDecimal staticStopLossRate;

    /** 交易金额限额 */
    @Excel(name = "交易金额限额")
    private BigDecimal tradeAmount;

    /** 状态：0：正常 1：禁用 */
    @Excel(name = "状态：0：正常 1：禁用")
    private Integer status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStockCode(String stockCode) 
    {
        this.stockCode = stockCode;
    }

    public String getStockCode() 
    {
        return stockCode;
    }
    public void setStaticStopProfitRate(BigDecimal staticStopProfitRate) 
    {
        this.staticStopProfitRate = staticStopProfitRate;
    }

    public BigDecimal getStaticStopProfitRate() 
    {
        return staticStopProfitRate;
    }
    public void setStaticStopLossRate(BigDecimal staticStopLossRate) 
    {
        this.staticStopLossRate = staticStopLossRate;
    }

    public BigDecimal getStaticStopLossRate() 
    {
        return staticStopLossRate;
    }
    public void setTradeAmount(BigDecimal tradeAmount) 
    {
        this.tradeAmount = tradeAmount;
    }

    public BigDecimal getTradeAmount() 
    {
        return tradeAmount;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stockCode", getStockCode())
            .append("staticStopProfitRate", getStaticStopProfitRate())
            .append("staticStopLossRate", getStaticStopLossRate())
            .append("tradeAmount", getTradeAmount())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
